package com.netcombine.freewill.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.netcombine.freewill.mapper.GoodsMapper;
import com.netcombine.freewill.vo.FreewillVo;

@Service
public class GoodsService{
	
	@Autowired
	private GoodsMapper goodsMapper;
	
	public FreewillVo selectGoodsInfo(FreewillVo vo){
		
		return goodsMapper.selectGoodsInfo(vo);
	}	
	
	public List<FreewillVo> selectGoodsList(FreewillVo vo){
		
		return goodsMapper.selectGoodsList(vo);
	}

	public int selectGoodsCount(FreewillVo vo) {
		
		return goodsMapper.selectGoodsCount(vo);
	}
	
}